﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Windows.Media.Animation;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Media3D;
using System.Windows.Markup;
using System.Windows.Media;

namespace CrazyWorship1.Creators
{
    public class CreateAllCentered:CreateAllBase
    {



        public override void SetupPanes()
        {
      
            foreach (DataRowView a in CurrentState.CurrentLyrics)
            {
                SongDB.LyricsRow b = (SongDB.LyricsRow)a.Row;
                CreateTextPanel(TextModelGroup, b.LyricID, b.Text, b.Style, new Point3D(0, 0, 0), Rotation3D.Identity, new Point3D(0, 0, 0), new Vector3D(1, 1, 1));
             
                SetIn(b.LyricID, b.InStoryBoard);
                SetOut(b.LyricID, b.OutStoryBoard);
            }
            TextModelGroup.Children.Add(new AmbientLight(Color.FromRgb(255, 255, 255)));
            SetSongIn(CurrentState.CurrentSong.InStoryBoard);
            SetSongOut(CurrentState.CurrentSong.OutStoryBoard);
        }

      





    

       
    }
}
